package com.gitee.chessboard.enums;

/**
 * jdbc的驱动枚举
 *
 * @author 敲代码的旺财
 * @date 2021/11/18 17:37
 */
public enum JdbcDriver {

    MYSQL_CJ("com.mysql.jdbc.Driver"),

    MYSQL("com.mysql.cj.jdbc.Driver");

    private String driver;

    JdbcDriver(String driver) {
        this.driver = driver;
    }

    public String getDriver() {
        return driver;
    }
}
